﻿// PrismDialog.cpp: 实现文件
//

#include "pch.h"
#include "CG2019112346张柳.h"
#include "afxdialogex.h"
#include "PrismDialog.h"


// PrismDialog 对话框

IMPLEMENT_DYNAMIC(PrismDialog, CDialogEx)

PrismDialog::PrismDialog(CWnd* pParent /*=nullptr*/)
	: CDialogEx(IDD_PRISM_DIALOG, pParent)
	, height(0)
	, Radius(0)
	, slices(0)
	, stacks(0)
	, x(0)
	, y(0)
	, z(0)
{

}

PrismDialog::~PrismDialog()
{
}

void PrismDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);

	DDX_Text(pDX, IDC_EDIT_Height, height);
	DDX_Text(pDX, IDC_EDIT_Radius, Radius);
	DDX_Text(pDX, IDC_EDIT_Slices, slices);
	DDX_Text(pDX, IDC_EDIT_Stacks, stacks);
	DDX_Text(pDX, IDC_EDIT_X, x);
	DDX_Text(pDX, IDC_EDIT_Y, y);
	DDX_Text(pDX, IDC_EDIT_Z, z);
}


BEGIN_MESSAGE_MAP(PrismDialog, CDialogEx)


END_MESSAGE_MAP()


